<h1>排序表格</h1>
<nz-table #filterTable [nzData]="listOfDisplayData">
    <thead  nzSingleSort>
        <tr>
            <th nzShowSort nzSortKey="name" nzShowFilter [nzFilters]="listOfName"
                (nzFilterChange)="filter($event, searchAddress)">
                Name
            </th>
            <th nzShowSort nzSortKey="age">Age</th>
            <th nzShowSort nzSortKey="address" nzShowFilter [nzFilterMultiple]="false" [nzFilters]="listOfAddress"
                (nzFilterChange)="filter(listOfSearchName, $event)">
                Address
            </th>
        </tr>
    </thead>
    <tbody>
        <tr *ngFor="let data of filterTable.data">
            <td>{{ data.name }}</td>
            <td>{{ data.age }}</td>
            <td>{{ data.address }}</td>
        </tr>
    </tbody>
</nz-table>